<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css">
	
<div class="easyui-layout" fit="true">
    <div region="center" border="false" style="overflow-x:hidden">
        <div class="pd10">
            <div class="tableform">
            	<form id="roleForm" method="post"> 
	                <table cellpadding="0" cellspacing="0">
						<input type="hidden" name="role" value="${role.roleId}" />
						<tr style="display: none">
							<th width="80px;">角色Id：</th>
							<td>
								<input id="roleIdId" value="${role.roleId}" name="roleId" style="width: 150px" class="easyui-validatebox">
							</td>
						</tr>
						<tr>
							<th width="80px;">角色名称：</th>
							<td>
								<input id="roleNameId" value="${role.roleName}" maxlength="64" name="roleName" style="width: 200px; height: 22px;" class="easyui-validatebox" data-options="required:true"/>
								<span style="color: red">*</span>
								</td>
						</tr>
						
						<tr>
							<th width="80px;">角色类型：</th>
							<td>
								<input value="${role.roleCode}" id="roleCodeId" class="easyui-combotree" name="roleCode" style="width: 200px; height: 25px;" data-options="url:'/pc/role/roleTree.htm',editable:false,required:true" panelHeight="100px"/>	
        					 	<span style="color: red">*</span>
       					 	</td>
						</tr>
						<tr>
							<th width="80px;">角色描述：</th>
							<td>
								<textarea id="descriptionId" name="description" style="width: 200px; height: 80px;">${role.description}</textarea>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
	<!--start：button区域-->
	<div region="south" style="height: 36px; overflow: hidden;" border="false">
		<div class="WinBtnBody pdt5">
			<table align="center" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<a href="javascript:void(0)" onclick="EditRole.saveRole();"	class="easyui-linkbutton" plain="true" iconCls="save">保存</a>
						<a href="javascript:void(0)" onclick="Ict.closeWin()" class="easyui-linkbutton" plain="true" iconCls="cancel">关闭</a>
					</td>
				</tr>
			</table>
		</div>
	</div>
	<!--end：button区域-->
</div>
	
<!-- ==================页面操作JS================ -->
<script type="text/javascript" src="/resources/js/sysmanage/role/roleEdit.js"></script>